Skip to content

ci: sync fork and wait for remake in OSC prod on release - #25

Merged
birme merged 1 commit into
mainfrom
ci/sync-fork-prod
Sep 30, 2026
Merged

birme merged 1 commit into
mainfrom
ci/sync-fork-prod

Conversation

@birme

@birme birme commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds .github/workflows/sync-fork-prod.yml: when a GitHub release is published (or manually via workflow_dispatch), trigger a sync-fork of this upstream repo in OSC prod (maker.svc.prod.osaas.io, served from Elastx) and wait for the remake to finish. Same flow and safeguards as the dev workflow (records the order id before the sync, requires it to change, fails on FAILED/ERROR/missing order).

Required: Actions secret OSC_PROD_MAKER_API_KEY (prod maker-manager bearer API key). The job fails fast if it is missing.

Test plan

  • Add the secret, run via workflow_dispatch, confirm green after the prod remake completes

Lessons

Releases created with the default GITHUB_TOKEN do not trigger release workflows; the release must be published by a user or a PAT. This changes prod, so the first run should be a deliberate manual dispatch.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Co-Authored-By: Claude <noreply@anthropic.com>
@birme birme self-assigned this Sep 30, 2026
@birme
birme merged commit 8246eee into main Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant